using Assets.Scripts.GDK;
using System.Collections.Generic;
using UnityEngine;

namespace Brick
{
	public class CoinBonusGuide : BaseGuideLayer
	{
		public RectTransform ListBox;

		public override void OnStart()
		{
			bindItemTouch();
			showBtns();
		}

		private void showBtns()
		{
			initListBox(new List<string>
		{
			"L",
			"A",
			"D"
		});
		}

		private void initListBox(List<string> keyList)
		{
		}

		private void bindItemTouch()
		{
			GameObject gameObject = gdk_game_manager.loadPrefab(GuideID.ALERT);
			gameObject.GetComponent<GuideAlert>().OnData(4, delegate
			{
				UnityEngine.Object.Destroy(base.gameObject, 0.1f);
			});
			gameObject.transform.SetParent(box);
		}
	}
}

